package com.jshaz.xrichtextplus;

import android.view.View;

import java.util.List;

/**
 * Created by jshaz on 2018/2/15.
 * 富文本操作选项
 */

public class Options {

    private List<EditData> dataList = null; // 数据
    private boolean compressBitmap = false; // 是否压缩图片
    private View.OnClickListener imageOnClickListener = null; // 图片点击监听器
    private View.OnLongClickListener imageOnLongClickListener = null; // 图片长按监听器
    private Boolean askBeforeImageDeleted = false; // 是否在删除图片之前提示

    public List<EditData> getDataList() {
        return dataList;
    }

    public void setDataList(List<EditData> dataList) {
        this.dataList = dataList;
    }

    public boolean isCompressBitmap() {
        return compressBitmap;
    }

    public void setCompressBitmap(boolean compressBitmap) {
        this.compressBitmap = compressBitmap;
    }

    public View.OnClickListener getImageOnClickListener() {
        return imageOnClickListener;
    }

    public void setImageOnClickListener(View.OnClickListener imageOnClickListener) {
        this.imageOnClickListener = imageOnClickListener;
    }

    public View.OnLongClickListener getImageOnLongClickListener() {
        return imageOnLongClickListener;
    }

    public void setImageOnLongClickListener(View.OnLongClickListener imageOnLongClickListener) {
        this.imageOnLongClickListener = imageOnLongClickListener;
    }

    public Boolean getAskBeforeImageDeleted() {
        return askBeforeImageDeleted;
    }

    public void setAskBeforeImageDeleted(Boolean askBeforeImageDeleted) {
        this.askBeforeImageDeleted = askBeforeImageDeleted;
    }
}
